package cn.talkimages.web.admin.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import cn.talkimages.web.beans.ImageBean;

/**
 * For 图片信息 Operation
 */
public interface ImageDAO {

	/**
	 * 取得比配图片信息Count数
	 * 
	 * @param params
	 * @return List<KeywordBean>
	 * @throws SQLException
	 */
	Long selectImageInfosCount(Map<String, Object> params) throws SQLException;

	/**
	 * 取得比配图片信息
	 * 
	 * @param params
	 * @return List<KeywordBean>
	 * @throws SQLException
	 */
	List<ImageBean> selectImageInfos(Map<String, Object> params)
			throws SQLException;

	/**
	 * 新上传图片保存
	 * 
	 * @param image
	 * @throws SQLException
	 */
	void insertImage(ImageBean image) throws SQLException;

}
